package top.leyi.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;

public class Class  implements Serializable {

    private static final long serialVersionUID = 123124L;


    private int id;
    private String name;
    @JsonIgnore
    private int col_id;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCol_id() {
        return col_id;
    }

    public void setCol_id(int col_id) {
        this.col_id = col_id;
    }

    public Class(int id, int col_id){
        this.id = id;
        this.col_id = id;
    }
    public Class(int id ){
        this.id = id;
    }
    public Class( ){}
}
